<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class UserRoleSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $now = \Carbon\Carbon::now();
        DB::table('user_role')->insert(
            [
                [
                    'name' => '入户',
                    'created_at' => $now,
                    'updated_at' => $now,
                ],
                [
                    'name' => '测绘',
                    'created_at' => $now,
                    'updated_at' => $now,],
                [
                    'name' => '评估',
                    'created_at' => $now,
                    'updated_at' => $now,],
                [
                    'name' => '户型',
                    'created_at' => $now,
                    'updated_at' => $now,],
                [
                    'name' => '签约',
                    'created_at' => $now,
                    'updated_at' => $now,],
                [
                    'name' => '腾房',
                    'created_at' => $now,
                    'updated_at' => $now,], 
                [
                    'name' => '结算',
                    'created_at' => $now,
                    'updated_at' => $now,],  
                [
                    'name' => '银行',
                    'created_at' => $now,
                    'updated_at' => $now,],   
                [
                    'name' => '发放',
                    'created_at' => $now,
                    'updated_at' => $now,],              
            ]
        );
    }
}
